<?
namespace Site\Model
{
    class Intro extends \Api\Model\DB2
    {
        /**
         * Return last 10 added images to script
         */
        public function getLastImages()
        {
            $list = \Api\File::ls('public/intro/','jpg');
            return array('images'=>$list);
        }
    }
}
?>